ServerEvents.tick(event => {
    event.server.allLevels.forEach(level => {
        if (level.dayTime() % 20 == 0) {
            level.getEntities().forEach(entity => {
                if (entity.y <= -100) {
                    entity.kill()
                }
            })
        }
    })
})